home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
prcmdate.arc
/
PRODATE.DOC
next >
Wrap
Text File
|
1987-02-16
|
4KB
|
69 lines
PRODATE
Placed in the public domain by
Woody Woodward
Feb. 1987
PRODATE is a date stamp utility for Procomm 2.4 dialing directories.
It was designed to mark selected directory entries with the date last
called. The current system date is converted to mm/dd format and
then written as the last 5 "Name" characters of the selected
directory entry.
Calling syntax is: prodate #1 [#2...#100]
Simply list each directory number to be dated. Delimit each with a
space character. A series of numbers need not be sequential.
If PRODATE is invoked without an argument list, it will prompt for a
single directory number to be dated. This mode of operation allows
on-line directory dating while running Procomm. Be aware, however,
that PRODATE updates the actual procomm.dir file, not the copy
Procomm keeps in memory. This means that date stamps performed
on-line will not show up until the next time Procomm is initialized.
Also, any directory editing will cause Procomm to write to disk, thus
canceling date stamps done earlier in the same session.
The PRODATE program may reside anywhere in your normal path
environment but the procomm.dir file must be found in the current
directory.
Suggetions for using PRODATE from within Procomm.....
It was my original intent to control operation of PRODATE from a
Procomm command file, automatically updating each directory after a
successful connect. Unfortunately, it appears that Datastorm has
provided no access to the directory number selected for dialing. (If
anyone has found a technique for "passing" this number to a command
file, I'd love to hear about it.) Another obstacle was the passing
of arguments from a command file to the DOS program (but I'm sure
someone *must* have solved this one). Anyway, here are a few methods
that can be used to stamp date entries as calls are made.
After a successful connection has been made, use ALT-4 (the DOS
gateway) and call PRODATE without any command line arguments.
PRODATE will ask you for the directory number to be dated. You will
then have to type EXIT to return to Procomm.
An alternative to this method is to create a command file that calls
PRODATE (e.g, "dos prodate"). After a successful connection use
ALT-5 to invoke the command file. This proves to be faster than the
dos gateway and you don't need the EXIT to return to Procomm.
If command files are used to control logon procedures, you can
include a call to PRODATE after testing for the successful
connection.
If none of these methods are to your liking, just jot down the
directory numbers as connections are made. Then, at the end of the
session, run PRODATE listing those numbers as command line arguments.
For those who want to know.......
PRODATE was written in Mark Williams C (MWC86) small model. It was
developed and tested on an IBM XT under DOS 3.1 running Procomm ver.
2.4.2.
Enjoy! Woody Woodward